OpenRoads Designer CONNECT Edition SDK Help

GetLength Method

Gets 2D length of linear element

Definition

Namespace: Bentley.CifNET.LinearGeometry Assembly: Bentley.CifNET.LinearGeometry.4.0 (in Bentley.CifNET.LinearGeometry.4.0.dll) Version: 1.0.0.0 (99.99.99.99)

C#

public doubleGetLength(double ptToPtTolerance)

Parameters

SettingDescription
   Point to point tolerance used to calculate the length

Return Value

Remarks

To obtain the point to point tolerance that is passed as parameter the length will be calculated with a precision equal to ptToPtTolerance/100

See Also